using System.Web;
using Jackie.Utility.JQuery.Grid;

namespace Jackie.Utility.JQuery
{
    using System;
    using System.Runtime.CompilerServices;
    using System.Web.Mvc;

    public static class HtmlHelperExtension
    {
        public static HtmlString JQGrid(this HtmlHelper helper, JQGrid grid)
        {
            return JQGridRenderer.RenderHtml(grid);
        }

        public static string Span(this HtmlHelper helper, string text, string className)
        {
            return string.Format("<span class='{0}'>{1}<span>", className, text);
        }
    }
}
